package com.frank.oj.service.team;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.frank.oj.common.result.CommonResult;
import com.frank.oj.model.dto.AnnouncementDTO;
import com.frank.oj.model.vo.AnnouncementVO;

public interface GroupContestAnnouncementService {

    CommonResult<IPage<AnnouncementVO>> getContestAnnouncementList(Integer limit, Integer currentPage, Long cid);

    CommonResult<Void> addContestAnnouncement(AnnouncementDTO announcementDto);

    CommonResult<Void> updateContestAnnouncement(AnnouncementDTO announcementDto);

    CommonResult<Void> deleteContestAnnouncement(Long aid, Long cid);

}
